clear
echo ----------------------------------------------------------------------------------------------------
echo Warning: This ShellFile will Shell file will clear your dnsmasq's config
echo Please backup your Dnsmasq's config and run this shell again!
echo This shell file will execute after 10 second!!!
echo If you want exit and backup config,please CTRL+C to exit
echo ----------------------------------------------------------------------------------------------------
sleep 10s
echo Starting Change Install_Form to ali
sed -i 's_downloads.openwrt.org_mirrors.aliyun.com/openwrt_' /etc/opkg/distfeeds.conf
echo Updateing Package lists...
echo ----------------------------------------------------------------------------------------------------
echo Change Install_Form Success
opkg remove dnsmasq
opkg remove dnsmasq-full
wget https://gitee.com/caiji_top/wrt_sor/raw/master/Packages/23.05.5/luci-app-alpha-config.ipk
opkg install ./luci-app-alpha-config.ipk
opkg install dnsmasq
opkg insatll dnsmasq-full
echo ----------------------------------------------------------------------------------------------------
echo Clean the residue now ...
rm ./luci-app-alpha-config.ipk
rm ./install_openclash.sh
echo ----------------------------------------------------------------------------------------------------
echo Install OpenClash success!
sleep 5s
clear